<template>
	<h1>vip one</h1>
	<h2>{{oneMsg}}</h2>
	<button @click="tab">传递</button>
</template>

<script setup>
import { ref } from 'vue';
	let oneMsg=ref("hello 兄弟");
	import mitts from "@/utils/eventBus";
	
	const tab=()=>{
		mitts.emit("mycar",oneMsg)
	}	
	
</script>

<style>
</style>